/**
 * 
 */
package edu.rice.myxo.olexii;

import java.util.ArrayList;
import java.util.List;

/**
 * @author frogy
 *
 */
public class Grid {
	int xIndex;

	int yIndex;

	double startX;

	double startY;

	double gridSize;

	// public ArrayList<MyxoAgent> agentList;

	public List<MyxoAgent> agentList;

	// public ArrayList<MyxoAgent> agentHeadList;

	public List<MyxoAgent> agentHeadList;

	// public ArrayList<MyxoAgent> agentTailList;

	public List<MyxoAgent> agentTailList;

	public Grid(int xIndex, int yIndex, double startX, double startY) {
		this.xIndex = xIndex;
		this.yIndex = yIndex;
		this.startX = startX;
		this.startY = startY;
		gridSize = Global.gridSize;
		// agentList = java.util.Collections.synchronizedList(new
		// ArrayList());
		// agentHeadList = java.util.Collections
		// .synchronizedList(new ArrayList());
		// agentTailList = java.util.Collections
		// .synchronizedList(new ArrayList());
		agentList = new ArrayList<MyxoAgent>();
		agentHeadList = new ArrayList<MyxoAgent>();
		agentTailList = new ArrayList<MyxoAgent>();
	}
}